package com.gs.thunder.entity;

import org.apache.ibatis.type.Alias;

/**
 * Created with IntelliJ IDEA.
 * User: Legolas
 * Date: 2018/1/2 0002
 */
@Alias("RUIUnitPlace")
public class RUIUnitPlace {
    private Integer id;//id
    private Integer unitId;//防雷单位id
    private String name;//场所名称
    private String function;//场所功能（油库、气库、弹药库、化学品仓库、烟花爆竹、石化、矿区、旅游景点、其它）
    private String province;//省份
    private String city;//所属地市
    private String county;//所属区县
    private String address;//具体地址
    private String lng;//经度
    private String lat;//纬度
    private String personName;//负责人姓名
    private String personTel;//负责人固话
    private String personPhone;//负责人手机
    private boolean dangerous;//是否存放危险品

    @Override
    public String toString() {
        return "RUIUnitPlace{" +
                "id=" + id +
                ", unitId=" + unitId +
                ", name='" + name + '\'' +
                ", function='" + function + '\'' +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", county='" + county + '\'' +
                ", address='" + address + '\'' +
                ", lng='" + lng + '\'' +
                ", lat='" + lat + '\'' +
                ", personName='" + personName + '\'' +
                ", personTel='" + personTel + '\'' +
                ", personPhone='" + personPhone + '\'' +
                ", dangerous=" + dangerous +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUnitId() {
        return unitId;
    }

    public void setUnitId(Integer unitId) {
        this.unitId = unitId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFunction() {
        return function;
    }

    public void setFunction(String function) {
        this.function = function;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getLng() {
        return lng;
    }

    public void setLng(String lng) {
        this.lng = lng;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public String getPersonName() {
        return personName;
    }

    public void setPersonName(String personName) {
        this.personName = personName;
    }

    public String getPersonTel() {
        return personTel;
    }

    public void setPersonTel(String personTel) {
        this.personTel = personTel;
    }

    public String getPersonPhone() {
        return personPhone;
    }

    public void setPersonPhone(String personPhone) {
        this.personPhone = personPhone;
    }

    public boolean isDangerous() {
        return dangerous;
    }

    public void setDangerous(boolean dangerous) {
        this.dangerous = dangerous;
    }
}
